<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
            {$row.user_name|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
            {$row.shop_name|htmlentities}
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:8px;">
            <p>
                省: {$row.province|htmlentities},
            </p>
            <p>
                市: {$row.city|htmlentities},
            </p>
            <p>
                区: {$row.area|htmlentities},
            </p>
            <p>
               详细地址:  {$row.address|htmlentities}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
            {$row.phone|htmlentities}"
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
            {$row.name|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Businessimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-businessimage" class="form-control" size="50" name="row[businessimage]" type="text" value="{$row.businessimage|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-businessimage" disabled class="btn btn-danger faupload" data-input-id="c-businessimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-businessimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-businessimage"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-businessimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-shop_images" class="form-control" size="50" name="row[shop_images]" type="text" value="{$row.shop_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-shop_images" disabled class="btn btn-danger faupload" data-input-id="c-shop_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-shop_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-shop_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-shop_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-pid" data-rule="required" class="form-control selectpicker" multiple="" disabled name="row[service_type]">

                {foreach name="categorydata" item="vo"}
                    <option data-type="text" value="{$key}" {in name="key" value="$row.service_type"}selected{/in}>{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('车型服务')}:</label>
            <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
                {$row.service_models|htmlentities}
            </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('营业时间')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
            开始时间: {$row.start_time}  --   结束时间 {$row.end_time}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Opinion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-opinion" class="form-control" name="row[opinion]" type="text" value="{$row.opinion|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8" style="padding-top:7px;">
            {$row.create_time|datetime}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8"  style="padding-top: 7px">
                {$statusList[$row.status]}
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-default btn-embossed layer-close">{:__('关闭')}</button>
        </div>
    </div>
</form>

